package com.enjoyor.soa.traffic.core.efoms.enums;

public enum EnumDicException {

	/**
	 * 公共异常捕获；
	 */
	OPERATE_SUCCESS("0","成功！"),
	ID_IS_NULL("30","编号为空"),
    POJO_IS_NULL("31","对象不存在"),
	SQL_IS_ERROR("32","sql执行异常"),
    
	/**
	 * 报修单审核异常捕获；
	 */
	ISPASS_IS_ERROE("33","是否审核字段标识传入有误");
    private final String key;

    private final String value;

    private EnumDicException(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return this.key;
    }

    public String getValue() {
        return this.value;
    }

    public String toString() {
        return this.name();
    }

}
